export default {
    "名称": "寒霜盾戟",
    "备注": "令自己受到伤害降低2.5%/7.5%/25%、造成伤害提升2.5%/7.5%/25%，持续到战斗结束。(可叠加)",
    "灵宝算法": function (fight_data, src_unit, target_unit, lb, consummer) {
        G.FightComputingUtils.computing_skill(fight_data, src_unit, target_unit, lb["名称"]);
        let data = 0;
        if (consummer === 1) {
            data = 0.025;
        } else if (consummer === 3) {
            data = 0.075;
        } else if (consummer === 7) {
            data = 0.25;
        }
        src_unit["寒霜盾戟"] = {
            "伤害": target_unit["伤害"] * (lb["境界"] * 0.1 + data),
            "防御": target_unit["防御"] * (lb["境界"] * 0.1 + data),
        };
        G.FightComputingUtils.computing_skill(fight_data, src_unit, target_unit, lb["名称"]);
    },
}